package difactroy

import (
	"gitee.com/ichub/goconfig/common/base/baseiface"
	"gitee.com/ichub/goconfig/common/basedi"
)

const single_nameS1 = "S1"

// init
// register
// load
func init() {
	registerBeanS1()
}

// register S1
func registerBeanS1() {
	basedi.RegisterLoadBean(single_nameS1, LoadS1)
}

func FindBeanS1() *S1 {
	return basedi.FindBean(single_nameS1).(*S1)
}

func LoadS1() baseiface.ISingleton {
	return NewS1()
}
